<!-- 区域管理 -->
<template>
  <div>
    <Tab :show-region="showRegion" @searchFn="searchFn" />
    <Main ref="regionSearch" />
  </div>
</template>

<script>
import Tab from './components/header.vue'
import Main from './components/main.vue'
export default {
  components: {
    Tab,
    Main
  },
  data() {
    return {
      showRegion: true
    }
  },
  methods: {
    searchFn(obj) {
      this.$refs.regionSearch.regionSearch(obj)
    }

  }
}

</script>
<style lang='less' scoped>
</style>
